const state = {
  nm: window.localStorage.getItem('cityNm') || '北京',
  id: window.localStorage.getItem('cityId') || 1

}
const mutations = {
  GO_PAYINGNOW (state, payload) {
    state.nm = payload.nm
    state.id = payload.id
  }
}
const actions = {

}

export default {
  state,
  mutations,
  actions
}